package model;

public class Relationship {
	private Module srcModule;
	private Module targetModule;
	private int cost = 0;
	
	public Relationship(){}
	
	public Relationship(Module aSrcModule,Module aTargetModule){
		this.srcModule = aSrcModule;
		this.targetModule = aTargetModule;
	}

	public void setSrcModule(Module aSrcModule) {
		this.srcModule = aSrcModule;
	}

	public Module getSrcModule() {
		return this.srcModule;
	}

	public void setTargetModule(Module aTargetModule) {
		this.targetModule = aTargetModule;
	}

	public Module getTargetModule() {
		return this.targetModule;
	}

	public int getCost() {
		
		return this.cost ;
	}
	public void setCost(int cost){
		this.cost = cost;
	}
}